package cloud.lipanpan.eduv1.index.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 首页
 *
 * @program: edu-v1
 * @description: 首页
 * @author: 李盼盼
 * @create: 2021-12-02 23:16
 **/
@Controller
public class IndexController {

    @GetMapping("/index")
    public ModelAndView toIndex(ModelAndView mav) {

        mav.setViewName("index/index");
        return mav;
    }


}
